﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace AccountingModel.DTO
{
    [DataContract]
    public class DTOTransaction
    {
        [DataMember]
        public int Id
        {
            get;
            set;
        }
        [DataMember]
        public DateTime Date
        {
            get;
            set;
        }
        [DataMember]
        public string Explanation
        {
            get;
            set;
        }
        [DataMember]
        public TransactionItem[] Details
        {
            get;
            set;
        }
    }
}